package com.appointmentmanager.model;

/**
 * User data object.
 * 
 * @author tony
 */
public class User {

	private Long id;
	private String username;
	private String firstName;
	private String lastName;
	private String password;
	private boolean enabled;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFirstName() {
		return this.firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return this.lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	@Override
	public String toString() {
		return "{" + "id:" + this.id + ", "
				+ "firstName:" + this.firstName + ", "
				+ "lastName:" + this.lastName + ", "
				+ "email:" + this.username + "}";
	}
}
